package ${packageName}.service;

import com.github.pagehelper.PageInfo;
import ${packageName}.model.dto.${dataKey}.${upperDataKey}QueryRequest;
import ${packageName}.model.entity.${upperDataKey};
import ${packageName}.model.vo.${upperDataKey}VO;
import javax.servlet.http.HttpServletRequest;
import org.apache.ibatis.annotations.Param;

/**
* ${dataName}服务
*/
public interface ${upperDataKey}Service extends IService<${upperDataKey}> {

    /**
    * 获取${dataName}封装
    *
    * @param ${dataKey}
    * @param request
    * @return
    */
    ${upperDataKey}VO get${upperDataKey}VO(Long id);

    /**
    * 分页获取${dataName}封装
    *
    * @param ${dataKey}Page
    * @param request
    * @return
    */
    PageInfo<${upperDataKey}VO> get${upperDataKey}VOPage(@Param("dto") ${upperDataKey}QueryRequest dto);
}
